package fun.werfamily.wf.order.core.domain.dto.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Mr.WenMing Zhang
 * @Date: 2023-04-25 23:09
 * @Description:
 */
@Data
@ApiModel
public class OrderGoodsCartDTO {

    @ApiModelProperty("总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("商品数量")
    private Integer quantity;

    @ApiModelProperty("购物车商品明细")
    private List<CartItemDTO> items;
}
